.class public Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;
.super Landroid/widget/LinearLayout;

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field public final a:Ljava/lang/String;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/view/View;

.field private d:Ljava/util/List;

.field private e:Ljava/util/List;

.field private f:Ljava/util/List;

.field private g:Lcom/waiqin365/lightapp/syorder/view/ak;

.field private h:Z

.field private i:Z

.field private j:Landroid/content/Context;

.field private k:Ljava/lang/String;

.field private l:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    const/4 v1, 0x0

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->h:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->i:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->k:Ljava/lang/String;

    const-string/jumbo v0, ","

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->l:Ljava/lang/String;

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->j:Landroid/content/Context;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->h:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->i:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->k:Ljava/lang/String;

    const-string/jumbo v0, ","

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->l:Ljava/lang/String;

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->j:Landroid/content/Context;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->c()V

    return-void
.end method

.method private b()V
    .locals 3

    const/4 v2, -0x1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f()Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->c:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->c:Landroid/view/View;

    const v1, 0x7f0c0085

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->c:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/view/aj;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/view/aj;-><init>(Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->c:Landroid/view/View;

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method private c()V
    .locals 3

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    new-instance v1, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->getContext()Landroid/content/Context;

    move-result-object v0

    const-class v2, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "list"

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v2, "selected"

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->k:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "title"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getHint()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    :goto_0
    const-string/jumbo v0, "isSingleSelect"

    const/4 v2, 0x1

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "returnTo"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    return-void

    :cond_0
    const-string/jumbo v0, "title"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->k:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0
.end method

.method private d()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->h:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a()V

    :cond_0
    return-void
.end method

.method private e()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->i:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a()V

    :cond_0
    return-void
.end method

.method private f()Landroid/view/View;
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f030260

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a(Z)V

    return-void
.end method

.method public a(Z)V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-object v1, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/a;

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/c/a;->a()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/c/a;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->l:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->l:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->g:Lcom/waiqin365/lightapp/syorder/view/ak;

    if-eqz v0, :cond_2

    if-eqz p1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->g:Lcom/waiqin365/lightapp/syorder/view/ak;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/syorder/view/ak;->a(Ljava/util/List;)V

    :cond_2
    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Landroid/widget/LinearLayout;->onDetachedFromWindow()V

    return-void
.end method

.method public setContent(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setContentColor(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V

    return-void
.end method

.method public setContentSize(F)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextSize(F)V

    return-void
.end method

.method public setHint(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setOnChangeListener(Lcom/waiqin365/lightapp/syorder/view/ak;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->g:Lcom/waiqin365/lightapp/syorder/view/ak;

    return-void
.end method

.method public setSelectTitle(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->k:Ljava/lang/String;

    return-void
.end method

.method public setSelectedIds(Ljava/lang/String;)V
    .locals 2

    if-eqz p1, :cond_0

    const-string/jumbo v0, ","

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->f:Ljava/util/List;

    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method

.method public setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V
    .locals 1

    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;Z)V

    return-void
.end method

.method public setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;Z)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    invoke-virtual {p0, p2}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a(Z)V

    return-void
.end method

.method public setSeparate(Ljava/lang/String;)V
    .locals 1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->l:Ljava/lang/String;

    :cond_0
    return-void
.end method

.method public setValueItems(Ljava/util/List;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e()V

    :cond_0
    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    if-eqz p2, :cond_1

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/List;

    if-eqz v0, :cond_1

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->e:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SySpinnerView;->a()V

    :cond_1
    return-void
.end method
